home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Mail / pine3.92 / pico / makefile.aux < prev    next >
Makefile  |  1996-03-14  |  2KB  |  89 lines

  1. # $Id: makefile.aux,v 4.5 1996/03/15 07:41:11 hubert Exp $
  2. #
  3. #   Michael Seibel
  4. #   Networks and Distributed Computing
  5. #   Computing and Communications
  6. #   University of Washington
  7. #   Administration Builiding, AG-44
  8. #   Seattle, Washington, 98195, USA
  9. #   Internet: mikes@cac.washington.edu
  10. #
  11. #   Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  12. #
  13. #
  14. #   Pine and Pico are registered trademarks of the University of Washington.
  15. #   No commercial use of these trademarks may be made without prior written
  16. #   permission of the University of Washington.
  17. #
  18. #   Pine, Pico, and Pilot software and its included text are Copyright
  19. #   1989-1996 by the University of Washington.
  20. #
  21. #   The full text of our legal notices is contained in the file called
  22. #   CPYRIGHT, included with this distribution.
  23. #
  24.  
  25. #
  26. # Makefile for A/UX 3.0 version of the PINE composer library and 
  27. # stand-alone editor pico.
  28. #
  29.  
  30. #includes symbol info for debugging 
  31. DASHO=        -g
  32. #for normal build
  33. #DASHO=        -O
  34.  
  35. STDCFLAGS=    -DAUX -DJOB_CONTROL -D_POSIX_SOURCE -DPOSIX -DMOUSE
  36. CFLAGS=        $(EXTRACFLAGS) $(DASHO) $(STDCFLAGS)
  37.  
  38. # switches for library building
  39. LIBCMD=        ar
  40. LIBARGS=    -ru
  41. RANLIB=        /bin/true
  42.  
  43. LIBS=        $(EXTRALIBES) -ltermcap -lposix
  44.  
  45. OFILES=        attach.o ansi.o basic.o bind.o browse.o buffer.o \
  46.         composer.o display.o \
  47.         file.o fileio.o line.o osdep.o \
  48.         pico.o random.o region.o search.o \
  49.         spell.o tcap.o window.o word.o
  50.  
  51. CFILES=        attach.c ansi.c basic.c bind.c browse.c buffer.c \
  52.         composer.c display.c file.c fileio.c line.c osdep.c \
  53.         pico.c random.c region.c search.c spell.c tcap.c \
  54.         window.c word.c
  55.  
  56. HFILES=        estruct.h edef.h efunc.h ebind.h pico.h osdep.h
  57.  
  58.  
  59. #
  60. # dependencies for the Unix versions of pico and libpico.a
  61. #
  62. all:        pico pilot
  63.  
  64. osdep.c:    os_unix.c
  65.         rm -f osdep.c
  66.         cp os_unix.c osdep.c
  67.  
  68. osdep.h:    os_unix.h
  69.         rm -f osdep.h
  70.         cp os_unix.h osdep.h
  71.  
  72. libpico.a:    osdep.c osdep.h $(OFILES)
  73.         $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
  74.         $(RANLIB) libpico.a
  75.  
  76. pico:        main.c libpico.a
  77.         $(CC) $(CFLAGS) main.c libpico.a $(LIBS) -o pico
  78.  
  79. pilot:        pilot.c libpico.a
  80.         $(CC) $(CFLAGS) pilot.c libpico.a $(LIBS) -o pilot
  81.  
  82. .c.o:        ; $(CC) -c $(CFLAGS) $*.c
  83.  
  84. $(OFILES):    $(HFILES)
  85.  
  86. clean:
  87.         rm -f *.a *.o *~ osdep.c osdep.h
  88.  
  89.